﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SheepCommon.API.SheepCommands.Breedingsettinges
{
    public class BreedingsettingCreateCommand:IRequest<Result>
    {
        /// <summary>
        /// 配种公羊
        /// </summary>
        public string? StudRAMS { get; set; }
        /// <summary>
        /// 配种方式
        /// </summary>
        public string? Breedingpattern { get; set; }
        /// <summary>
        /// 种母发情类
        /// </summary>
        public string? Estrusspecies { get; set; }
        /// <summary>
        /// 当前栋舍
        /// </summary>
        public string CurrentCottageName { get; set; }
        /// <summary>
        /// 当前栏位
        /// </summary>
        public string CurrentFieIdName { get; set; }
        /// <summary>
        /// 转入栋舍（外键）
        /// </summary>
        public int? CottageId { get; set; }
        /// <summary>
        /// 转入栏位（外键）
        /// </summary>
        public int? Field { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 羊只档案（外键）
        /// </summary>
        public int? SheepId { get; set; }
        /// <summary>
        /// 配种日期
        /// </summary>
        public DateTime BreedingsettingTime { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? RecordAuricle { get; set; }
    }
}
